package com.cr.front.banner.service.impl;

import com.cr.front.banner.mapper.BannerMapper;
import com.cr.front.banner.pojo.vo.BannerVO;
import com.cr.front.banner.service.BannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerServiceImpl implements BannerService {
    @Autowired
    private BannerMapper bannerMapper;
    @Override
    public List<BannerVO> select() {
        List<BannerVO> list = bannerMapper.select();
        return list;
    }
}
